package com.rlax.ccdemo.gateway;

import com.rlax.ccdemo.base.consts.AppName;
import com.rlax.ccdemo.base.consts.BizConstant;
import com.rlax.corebin.launch.listener.CorebinApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 用户服务服务启动类
 * @author Rlax
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {BizConstant.BUSINESS_PACKAGE, "springfox.documentation.schema"})
@EnableFeignClients({"com.rlax"})
public class GatewayApplication {

    public static void main(String[] args) {
        CorebinApplication.run(AppName.GATEWAY, GatewayApplication.class, args);
    }

}
